home *** CD-ROM | disk | FTP | other *** search
/ The 640 MEG Shareware Studio 1 / The 640 Meg Shareware Studio CD-ROM Volume I (Data Express)(1992).ISO / comm / v42usrgd.txt < prev    next >
Text File  |  1991-01-08  |  17KB  |  372 lines

  1.  
  2.                      HAYES V-series V.42 User's Guide
  3.  
  4. Notice:  
  5. Hayes Microcomputer Products, Inc. reserves the right to make improvements
  6. to the product described in this manual at any time and without notice.
  7.  
  8. Hayes, the Hayes logo, and Smartcom II are registered trademarks, and 
  9. V-series, Smartcom III, Modem Enhancer, Smartmodem 9600, and Smartmodem 
  10. 9600B are trademarks, of Hayes Microcomputer Products, Inc.
  11.  
  12. MNP is a registered trademark, and Microcom Networking Protocol is a 
  13. trademark, of Microcom, Inc.
  14.  
  15. IBM is a registered trademark of International Business Machines 
  16. Corporation.
  17.  
  18. Apple and Macintosh are registered trademarks of Apple Computer Inc.
  19.  
  20. copyright Hayes Microcomputer Products, Inc.
  21.  
  22. ======================================================================= 
  23.  
  24. USING THIS GUIDE
  25.  
  26. Hayes V-series V.42 products automatically attempt an error-control 
  27. connection with the remote modem using CCITT standard V.42 protocol.  If 
  28. the remote system does not support V.42, or is configured in a way that it
  29. cannot make the connection, the V-series V.42 product willl attempt a 
  30. connection using a method supported by the remote system.
  31.  
  32. If you are using Hayes Smartcom II for the IBM PC or for the Apple 
  33. Macintosh, version 3.1, or Smartcom III for the IBM PC, version 1.1, the 
  34. software will perform all the necessary setup to make the best 
  35. connection--whether to another V.42 compliant modem, another V-series 
  36. system product, a Hayes Smartmodem product, or simply to a 
  37. Hayes-compatible modem.  If you will be using one of these Hayes 
  38. communications packages with a V-series V.42 product, you need not read 
  39. any further in this manual.
  40.  
  41. If you are using software that requires you to configure the modem for 
  42. your connections, this V.42 User's Guide and the User's Guide accompanying
  43. your V-series system product include complete explanations of the features
  44. and commands used for configuring and operating your V-series V.42 
  45. product.  All the features of the V-series V.42 products are addressed via
  46. the Hayes Standard AT Command Set.  Techniques for issuing AT commands and
  47. setting S-Registers are explained in the User's Guide accompanying your 
  48. V-series system product.
  49.  
  50.  
  51. THE V.42 ADVANTAGE
  52.  
  53. With the V-series system products, Hayes advanced modem communications by 
  54. adding adaptive data compression, automatic feature negotiation, automatic
  55. speed buffering, and point-to-point error-control using an implementation 
  56. of CCITT LAP-B (Link Access Protocol Balanced).
  57.  
  58. The V-series V.42 products take that functionality one step further by 
  59. including the CCITT V.42 standard for modem error-control connections.
  60.  
  61. V.42 specifies LAP-M (Link Access Procedure for Modems) as the primary 
  62. point-to point error-control protocol.  The standard also includes an 
  63. alternative protocol, Annex A, for compatibility with the installed base 
  64. of modems supporting MNP (Microcom Networking Protocol) levels 2 through 
  65. 4.  This alternative protocol represents a static specification; all 
  66. future development for enhancements to modem error-control will focus on 
  67. the standard's primary protocol--LAP-M.
  68.  
  69. Hayes V.42 products incorporate the following CCITT-prescribed features 
  70. for LAP-M.
  71.  
  72.  *  Benign detection phase
  73.  *  8-bit address field default
  74.  *  Private parameter negotiation
  75.  *  Break length preserved
  76.  *  Modulo-128 I-frame sequence numbers
  77.  *  Poll/Final bit procedure
  78.  *  Address extension bit used
  79.  *  UI frame exchange for break signalling
  80.  *  XID frame exchange for negotiation
  81.  *  Separate primitives for ACK, NAK, and BUSY
  82.  
  83. Hayes V-series V.42 products are fully-compliant with CCITT recommendation
  84. V.42 for point-to-point modem error-control.
  85.  
  86.  
  87. V.42 FEATURES AND COMMAND OPTIONS
  88.  
  89. Control of the V.42 functions is provided by additonal S-Registers and an 
  90. extension of the &Q5 error-control mode (described in the V-series system 
  91. product User's Guide).  These configurable options include:
  92.  
  93.  *  Extension of V-series error-control mode to include V.42 protocols
  94.  *  Improved Automatic Feature Negotiation for a wider variety of 
  95.     connection types and negotiation progress reporting
  96.  *  Additional selections for fallback mode if desired connection is not 
  97.     made
  98.  *  User-selection of Adaptive Data Compression
  99.  *  V.42 recommended local flow control options
  100.  *  Greater control of break handling
  101.  
  102. These features interact to provide the configuration that suits the 
  103. particular environment(s) in which the V-series V.42 product is used.
  104.  
  105.  
  106. V-SERIES ERROR CONTROL MODE--&Q5
  107.  
  108. A Hayes V-series V.42 product can negotiate any one of several connection 
  109. types, depending on the capabilities and configuration of the remote 
  110. modem.  This is accomplished through an extension of the V-series 
  111. error-control mode--&Q5.  In this factory-set configuration, the modem 
  112. automatically attempts to make a connection using the V.42 standard.
  113.  
  114. Hayes V-series V.42 products make connections using LAP-M at 1200 and 2400
  115. bps and at 9600 bps when connecting with another Hayes V-series Smartmodem
  116. 9600 V.42 or V-series Smartmodem 9600B V.42.  LAP-B is used when 
  117. connections are made with either V-series system products or Hayes 
  118. V-series X.25 products.  Alternative protocol connections are available at 
  119. 1200 and 2400 bps.
  120.  
  121.  
  122. When a V-series V.42 product is configured to make an MNP connection, it 
  123. attempts an MNP Class 4 connection.  From this initial attempt, the 
  124. negotiation phase can also result in a Class 2 or Class 3 connection, 
  125. depending on the capabilities of the other modem.  If the V-series V.42 
  126. product is a V-series Modem Enhancer V.42 connected to a Smartmodem 1200 
  127. (which does not support synchronous communications), a Class 2 negotiation
  128. will be attempted.
  129.  
  130.  
  131. AUTOMATIC FEATURE NEGOTIATION
  132.  
  133. Automatic feature negotiation offers a powerful technique for determining 
  134. and establishing the best method of error-control between two modems.  
  135. V-series system products analyze the capabilities of the remote modem, 
  136. make an intelligent choice of the method of communication, and initiate 
  137. the protocol.
  138.  
  139. The feature negotiation process involves two phases:  detection and 
  140. negotiation.  In the detection phase, the communicating modems exchange a 
  141. rapid sequence of characters to verify that both sides support feature 
  142. negotiation.  This occurs immediately after the telephone connection is 
  143. established.  If the detection phase is completed, a negotiation follows. 
  144. In the negotiation phase, the communicating modems exchange descriptive 
  145. information (e.g., their configuration, the features and protocols 
  146. supported) to determine the best connection possible.  Desired connection 
  147. types are selected with Registers S46 and S48.
  148.  
  149. If the detection phase fails or negotiation does not achieve the desired 
  150. connection type, the action to take (e.g., hang up, communicate in 
  151. standard asynchronous mode --&Q0) can be specified with Register S36.  
  152. Because MNP does not support a detection phase, selection of the 
  153. alternative protocol must be made as a forced fallback with Registers S36 
  154. and S48.
  155.  
  156. Feature Negotiation Action--S48
  157.  
  158. The process of feature negotiation determines the capabilities of the 
  159. remote system.  This process can be bypassed if desired, for example, when
  160. the capabilities of the remote modem are known and negotiation is 
  161. unnecessary.
  162.  
  163. S48 = 0         Negotiation disabled; modem presumes the remote modem is 
  164.                 configured for and has the capabilities necessary for the 
  165.                 prescribed connection mode, bypasses the detection and 
  166.                 negotiation phases, and proceeds with the protocol 
  167.                 selected with S46.
  168.                 
  169. S48 = 7         Negotiation enabled (factory setting).
  170.  
  171. S48 = 128       Negotiation disabled; forces the fallback actions 
  172.                 specified in S36 to be taken at once.  Can be used to 
  173.                 force the V.42 alternative protocol (compatible with MNP),
  174.                 bypassing the detection and negotiation phases.
  175.                 
  176. Protocol Selection--S46
  177.  
  178. The following protocol selections can be specified for the feature 
  179. negotiation process.
  180.  
  181. S46 = 0         Either LAP-M or LAP-B.
  182.  
  183. S46 = 2         LAP-M with adaptive data compression or LAP-B with 
  184.                 adaptive data compression (factory setting).
  185.  
  186. S46 = 136       LAP-M only.
  187.  
  188. S46 = 138       LAP-M with adaptive data compression.
  189.  
  190. S46 = 1         LAP-B only.
  191.  
  192. S46 = 3         LAP-B with adaptive data compression.
  193.  
  194. Automatic Feature Negotiation determines whether or not compression is 
  195. available for a connection type as part of the negotiation phase and 
  196. enables or disables it as necessary.  For example, in a connection with a 
  197. non-Hayes modem supporting MNP, the V-series V.42 product determines 
  198. compression is unavailable with the alternative protocol and automatically
  199. disables the feature.
  200.  
  201.  
  202. NEGOTIATION FALLBACK--S36
  203.  
  204. V-series V.42 products extend the range of options available for 
  205. specifying the type of connection to attempt and what action to take if 
  206. the desired connection cannot be made.
  207.  
  208. S36 = 0         Modem hangs up.
  209.  
  210. S36 = 1         Modem stays on-line and communication is initiated using a
  211.                 standard asynchronous connection (&Q0).
  212.  
  213. S36 = 2         Reserved.
  214.  
  215. S36 = 3         Modem stays on-line and communication is initiated using 
  216.                 an asynchronous connection with ASB (automatic speed 
  217.                 buffering).  ASB is used for interfaces requiring a constant 
  218.                 speed between the modem to computer/terminal.
  219.  
  220. S36 = 4         Attempt to connect using V.42 Alternative Protocol 
  221.                 (compatible with MNP levels 2-4); if negotiation fails, hang up.
  222.  
  223. S36 = 5         Attempt to connect using V.42 Alternative Protocol 
  224.                 (compatible with MNP levels 2-4); if negotiation fails, 
  225.                 connect using a standard asynchronous connection (factory 
  226.                 setting).
  227.  
  228. S36 = 6         Reserved.
  229.  
  230. S36 = 7         Attempt to connect using V.42 Alternative Protocol 
  231.                 (compatible with MNP levels 2-4); if negotiation fails, 
  232.                 connect using an asynchronous connection using ASB.
  233.  
  234. These fallback options are initiated immediately on connection if Register
  235. S48 = 128.  For example, a connection using the alternative protocol will 
  236. be forced if S48 = 128 and S36 = 5 or 7.
  237.  
  238.  
  239. CONNECTION FAILURE CAUSE CODE--S86
  240.  
  241. When the modem issues a NO CARRIER result code, a value is written to this
  242. S-Register to help in determining the reason for the failed connection.  
  243. Multiple occurrences may contribute to a NO CARRIER message; S86 records 
  244. the first event that occurred.
  245.  
  246. S86 = 0         Normal hang-up, no error occurred.
  247.  
  248. S86 = 1,2,3     Reserved.
  249.  
  250. S86 = 4         Physical carrier loss.
  251.  
  252. S86 = 5         Feature negotiation failed to detect presence of another 
  253.                 error-control modem at the other end.
  254.                 
  255. S86 = 6         Other error-control modem did not respond to feature 
  256.                 negotiation message sent by this modem.
  257.                 
  258. S86 = 7         Other modem is synchronous-only; this modem is 
  259.                 asynchronous-only.
  260.                 
  261. S86 = 8         Modems could not find a framing technique (sync or async) 
  262.                 in common.
  263.                 
  264. S86 = 9         Modems could not find a protocol in common.
  265.  
  266. S86 = 10        Feature negotiation message sent by other modem is 
  267.                 incorrect.
  268.                 
  269. S86 = 11        Synchronous information (data or flags) not received from 
  270.                 other modem.  Modem waits 30 seconds before hanging up.
  271.                 
  272. S86 = 12        Normal disconnect initiated by other modem.
  273.  
  274. S86 = 13        Other modem did not respond after many transmissions of 
  275.                 the same message.  Modem attempts connection 10 times before 
  276.                 giving up.
  277.                 
  278. S86 = 14        Protocol violation occurred.
  279.  
  280.  
  281. ADAPTIVE DATA COMPRESSION
  282.  
  283. Hayes V-series system products, including V-series V.42 products, can 
  284. compress the data passed between the computer/terminal and the modem.  
  285. Before data is sent across the line, the V-series V.42 product compresses 
  286. the data.  The V-series system product at the receiving end decompresses 
  287. the data before sending it to the computer or terminal.  This permits the 
  288. speed between the computer/terminal and the modem to be higher than that 
  289. between the two modems, effectively increasing data throughput.  For 
  290. optimum gain in throughput, the speed between the computer/terminal and 
  291. the modem should be twice that of the speed between the two modems across 
  292. the telephone line.  (See the User's Guide accompanying your V-series 
  293. system product for a description of DTE speed and DCE line speed.)
  294.  
  295. LOCAL FLOW CONTROL
  296.  
  297. Error-control and Automatic Speed Buffering connections require a method 
  298. of local flow between the modem and the computer (the DTE interface) for 
  299. data buffering.  The V.42 recommendation specifies RTS/CTS and XON/XOFF as
  300. flow control methods.  V-series V.42 products offer these two methods plus
  301. transparent XON/XOFF flow control.  The factory setting, &K3--RTS/CTS flow
  302. control, is appropriate when hardware (cable between the modem and the 
  303. computer/terminal) support RTS/CTS signals.  Descriptions of the options 
  304. available with the &K command are provided in the User's Guide 
  305. accompanying your V-series system product.
  306.  
  307.  
  308. ASYNCHRONOUS FRAMING TECHNIQUE
  309.  
  310. Connections between two error-control modems using either 
  311. error-control/LAP-B or V.42 protocols are usually synchronous connections,
  312. even though the user interface is always asynchronous (refer to your 
  313. V-series system product's User's Guide for descriptions of synchronous and
  314. asynchronous modes).
  315.  
  316.  
  317. NEGOTIATION PROGRESS MESSAGES
  318.  
  319. In addition to the negotiation progress messages (protocol-related result 
  320. codes) available with V-series system products, the following messages are
  321. implemented in V-series V.42 products.  The W1 command enables negotiation
  322. progress messages.  The factory setting, W0, disables the messages.
  323.  
  324.  
  325.  Numeric         Verbose                         Connection indicated
  326.  
  327.  77              PROTOCOL:  LAP-M                V.42 LAP-M
  328.  78              PROTOCOL:  LAP-M/HDX            V.42 LAP-M half-duplex*
  329.  79              PROTOCOL:  LAP-M/AFT            V.42 LAP-M with AFT
  330.  80              PROTOCOL:  ALT                  Alternative protocol
  331.  
  332.  
  333. *  Hayes V-series half-duplex "ping-pong" protocol for 9600 and 4800 bps 
  334.    connections.
  335.    
  336.  
  337. BREAK HANDLING
  338.  
  339. V.42 specifies three methods of break signal handling:  in sequence, 
  340. expedited, and destructive.  Break signals provide a way for you to get 
  341. the attention of the remote host.  The break type used depends on your 
  342. application.
  343.  
  344.  
  345. S82 = 128       "in sequence" signalling as data is sent and received; 
  346.                 data integrity is maintained both ahead of and after 
  347.                 the break (factory setting).
  348.                 
  349. S82 = 3         "expedited" signalling regardless of its sequence in data 
  350.                 sent and received by each modem; data integrity is maintained 
  351.                 both ahead of and after the break.
  352.                 
  353. S82 = 7         "destructive" signalling regardless of its sequence in 
  354.                 data sent and received by each modem; data being processed 
  355.                 by each modem at time break sent is destroyed.
  356.                 
  357.  
  358. In LAP-M connections, breaks are "timed."  The modem attempts to preserve 
  359. the duration of the break when transmitting it to the remote modem.  In 
  360. alternative protocol connections, breaks are "not timed," as the 
  361. alternative protocol has no facility for maintaining the duration of the 
  362. signal; a long break is the same as a short break.  In LAP-B connections, 
  363. break signals are always in sequence and timed.
  364.  
  365. Note:  When timing is a factor, the detection and generation at the 
  366. computer/terminal of break signals are in 10 millisecond increments:  
  367. breaks not in even 10 millisecond intervals are rounded to the next 
  368. increment.  A break of less than 10 millisecond duration may not be 
  369. detected; a break longer than 2.55 seconds will be transmitted with a
  370. 2.55 second duration.
  371.  
  372.